package com.yequan.mybatisframework.sqlsession;

import com.yequan.mybatisframework.config.MappedStatement;

import java.sql.Statement;
import java.util.List;


public class RoutingStatmentHandler implements StatementHandler {
	
	private StatementHandler statementHandler;

	public RoutingStatmentHandler(MappedStatement mappedStatement) {
		String statementType = mappedStatement.getStatementType();
		if ("prepared".equals(statementType)) {
			statementHandler = new PreparedStatementHandler();
		}
	}

	@Override
	public Statement createStatement() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void paramize(Object paramObj) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public <T> List<T> handleResult() {
		// TODO Auto-generated method stub
		return null;
	}

}
